package cc.comac.mom.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

import cc.comac.mom.api.CheckSealService;
import cc.comac.mom.datahandlers.entity.CheckSealDataHandler;
import cc.comac.mom.entity.CheckSealEntity;
import cc.comac.mom.util.ResultBean;
@RestController
@Service
public class CheckSealServiceImpl implements CheckSealService{

	@Autowired
	private CheckSealDataHandler checkSealDataHandler;
	@Override
	public ResultBean checkSealInsert(@RequestBody CheckSealEntity checkSealEntity) {
		ResultBean checkSealInsert = checkSealDataHandler.checkSealInsert(checkSealEntity);
		return checkSealInsert;
	}

}
